<?php

namespace common\models;

use Yii;

/**
 * This is the model class for table "time_reminder".
 *
 * @property integer $id
 * @property integer $member_id
 * @property integer $reminder
 * @property string $title
 * @property string $remarks
 */
class TimeReminder extends \yii\db\ActiveRecord
{
    /**
     * @inheritdoc
     */
    public static function tableName()
    {
        return 'time_reminder';
    }

    /**
     * @inheritdoc
     */
    public function rules()
    {
        return [
            [['member_id', 'reminder', 'title'], 'required'],
            [['member_id', 'reminder'], 'integer'],
            [['title'], 'string', 'max' => 200],
            [['remarks'], 'string', 'max' => 500],
        ];
    }

    /**
     * @inheritdoc
     */
    public function attributeLabels()
    {
        return [
            'id' => 'ID',
            'member_id' => '用户id',
            'reminder' => '提现时间',
            'title' => '事件名',
            'remarks' => '备注',
        ];
    }
}
